package com.guaoran.micro.services.spring.cloud.client.service.feign.clients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author : gucheng
 * @Description : <br/>
 * @date :2018/12/3 9:30
 */
@FeignClient(name = "spring-cloud-server-application")
public interface SayService {
    @GetMapping("/say")
    String say(@RequestParam("message") String message);
}
